<template>
  <view class="my-list-item">
    <view class="label">
    	<text>{{label}}</text>
    </view>
    <view class="subtitle">
      <slot></slot>
    </view>
    <u-icon name="arrow-right" size="15"></u-icon>
  </view>
</template>

<script>
  export default {
    name:"my-list-item",
    props: {
      label: ''
    },
    data() {
      return {
        
      };
    },
    methods: {

    }
  }
</script>

<style lang="scss" scoped>
.my-list-item {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 15px;
  padding: 0 10px;
  line-height: 45px;
  
  .label {
    flex: 3;
  }
  .subtitle {
    flex: 4;
    color: gray;
    text-align: right;
  }
}
</style>